package com.dxx.cloud.admin.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 库存变化详情表
 * </p>
 *
 * @author dh
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("goods_inventory_change_detail")
public class GoodsInventoryChangeDetailEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    

    /**
     * 商户id
     */
    private Long merId;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     * 变更记录id
     */
    private Integer changeId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 活次直冻
     */
    private String goodsState;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品规格id
     */
    private Integer goodsSizeId;

    /**
     * 商品规格
     */
    private String unit;

    /**
     * 皮重
     */
    private BigDecimal tare;

    /**
     * 毛重
     */
    private BigDecimal grossWeight;

    /**
     * 水分
     */
    private BigDecimal waterPercent;

    /**
     * 净重
     */
    private BigDecimal netWeight;

    /**
     * 件数
     */
    private BigDecimal weightNumber;

    /**
     * 变化量
     */
    private BigDecimal number;

    /**
     * 变化前库存
     */
    private BigDecimal inventoryBefore;

    /**
     * 变化后库存
     */
    private BigDecimal inventoryAfter;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 条形码
     */
    private String barCode;

    


}
